from math import log 
n=int(input("entrer un nombre entier supérieur à 2"))
S=0
for i in range (1,n):
    S=S+log(i,10)
print(S)